<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
	
		table{
			border-collapse: collapse;
		}
		td{
			border: 1px solid #000;
			padding: 3px 5px;
		}

	</style>
</head>
<body>

	<script>


	document.write("<table>");
	for (var i=1;i<=9;i++){
		document.write("<tr>");
		for (h=1;h<=i;h++){
			document.write("<td>");
			document.write(h+"*"+i+"="+i*h);
			document.write("</td>");
		}
		document.write("</tr>");
	}

	document.write("</table>");


	</script>
</body>
</html>